package com.sigerap.insumo.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;

/**
 * The persistent class for the Insumo database table.
 * 
 */
@Entity
@Table(name="t_insumo_proveedor")
public class InsumoProveedor {
		
		
	@Id
	@Column(name="codInsumoProveedor")
	private int codInsumoProveedor;
	
	@Column(name="razonSocial")
	private String razonSocial;

	
	@Column(name="codInsumo")
	private int codInsumo;

	@Column(name="precio")
	private double precio;	
	
	public InsumoProveedor() {
	}
	
	public String getRazonSocial() {
		return razonSocial;
	}

	public void setRazonSocial(String razonSocial) {
		this.razonSocial = razonSocial;
	}

	public int getCodInsumo() {
		return codInsumo;
	}

	public void setCodInsumo(int codInsumo) {
		this.codInsumo = codInsumo;
	}

	public double getPrecio() {
		return precio;
	}

	public void setPrecio(double precio) {
		this.precio = precio;
	}

	public void setCodInsumoProveedor(int codInsumoProveedor) {
		this.codInsumoProveedor = codInsumoProveedor;
	}

	public int getCodInsumoProveedor() {
		return codInsumoProveedor;
	}

	
}
